package com.maltys.abstract_demo;

public class Test {
    public static void main(String[] args) {
        Staff emloyee = new Staff(1, "普通员工", 123D);

        Manager manager = new Manager(2, "经理", 115454D, 45135D);
        emloyee.work();
        manager.work();
    }
}
